package com.stu.spring.sim.circular;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@Service
public class AService implements IAService{

//    @Lazy
    @Autowired
    private IBService bService;

    @Async
    @Override
    public void sayA() {
        System.out.println("hi i'm a, my b is " + bService.getClass());
    }
}
